package org.xg.study.pd.lang;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName Collection
 * @date 2021/9/16 15:09
 **/
public interface Collection<E, L> extends Iterable<E> {
    boolean add(E e);

    boolean remove(E e);

    boolean addLink(String key, L l);

    boolean removeLink(String key);

    @Override
    Iterator<E> iterator();
}
